water_lilies = []
for num in range(100, 1000):
    hundreds = num // 100
    tens = (num // 10) % 10
    units = num % 10
    if hundreds**3 + tens**3 + units**3 == num:
        water_lilies.append(num)
print("1000以内的水花仙数：", water_lilies)